package com.ljs.liojbackenduserservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;


// todo 如需开启 Redis，须移除 exclude 中的内容
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.ljs.liojbackenduserservice.mapper")
@EnableScheduling
@EnableFeignClients(basePackages = {"com.ljs.liojbackendserviceclient.service"})
@ComponentScan("com.ljs")
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
public class LiojBackendUserServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(LiojBackendUserServiceApplication.class, args);
    }

}
